¡Vamos a crear nuestro reloj automático!

  • Desde , arrastra Subtract Value dentro del evento de intervalo.
  • Cambia la variable a timer.
  • Utiliza Update Display para actualizar el timer_display con el nuevo valor de timer.

Ahora cada segundo el reloj automático contará en forma regresiva de a 1.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)